/*
 * Tooltip (for jQuery)
 * version: 0.8 beta (29/10/2010)
 * 
 * @requires jQuery v1.4 or later
 * @requires jquery.tip plugin
 * @author nico.rehwaldt
 */
(function($) {
    $.extend($.fn, {
        tooltip: function(opts) {
            var options = typeof opts == "object" ? opts : {};
            
            return this.each(function() {
                if (options.afterInitialize) {
                    $(this).bind("tip.afterInitialize", options.afterInitialize);
                }

                $(this).tip(options);
            });
        }
    });
})(jQuery);
